package com.hsjk.szwj.module.train.controller.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @author ec50n9
 */
@Schema(description = "课程列表信息 Response VO")
@Data
@ToString(callSuper = true)
public class AdminCourseDetailRespVO {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "商品id")
    private Long spuId;

    @Schema(description = "sku id")
    private Long skuId;

    @Schema(description = "课程名称")
    private String courseName;

    @Schema(description = "车辆类型")
    private String carType;

    @Schema(description = "课程封面地址")
    private String courseCoverUrl;

    @Schema(description = "商品上架状态")
    private Integer spuStatus;

    @Schema(description = "课程描述")
    private Boolean isRecommend;

    @Schema(description = "有效天数;0表示永久有效")
    private Integer validDays;

    @Schema(description = "商品虚拟销量")
    private Integer spuVirtualSalesCount;

    @Schema(description = "sku价格")
    private Long skuPrice;

    @Schema(description = "排序")
    private Integer sortNo;

    @Schema(description = "课程详情")
    private String courseDetail;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "最后更新时间")
    private LocalDateTime updateTime;

    private String payNote;
}
